GXSetViewPortAttributes
You can use theGXSetViewPortAttributes
function to set or clear the attributes of a view port object.
void GXSetViewPortAttributes(gxViewPort target, gxPortAttribute attributes);
- target
- A reference to the view port whose attributes you wish to set.
attributes
- The new view port attributes to be assigned.
DESCRIPTION
TheGXSetViewPortAttributes
function sets the attributes of the view port object referenced in thetarget
parameter to those specified in theattributes
parameter. If you passgxNoAttributes
for theattributes
parameter, all attributes are cleared.ERRORS, WARNINGS, AND NOTICES
Errors invalid_viewPort_reference parameter_out_of_range (debugging version) Notices (debugging version) attributes_already_set SEE ALSO
For an example of the use of this function, see Listing 7-1 on page 7-42.View port attributes are described in the section "View Port Attributes" on page 7-20.
To examine a view port's attributes, use the
GXGetViewPortAttributes
function, described in the previous section.